﻿using System;
using Autodesk.Revit.DB;

namespace YArchitech.Revit
{
	public static class RevitVersion
	{
		public static string Version
		{
			get
			{
				return RevitVersion.version;
			}
		}

		public static string GetVersion(Document doc)
		{
			return doc.Application.VersionName;
		}

		public static string GetVersionNumber(Document doc)
		{
			return doc.Application.VersionNumber;
		}

		private static string version = "2016";
	}
}
